package com.aaa.service;

import com.aaa.entity.Tester;
import com.github.pagehelper.Page;

import java.util.List;


public interface TesterSASService {
    Page selectTester(Tester tester);
    /**
     * @create by: WzZz
     * @description: 根据id 进行单行删除和 批量删除
     * @create time: 2022/7/8 15:57
     * @param
     * @return
     */
    boolean deleteTesterById(Integer id);
    boolean deleteTesterBatch(String id);

    /**
    * @Author: WTH
    * @Description: 新增
    * @Date:2022-07-07 15:13
    * @Params:
    */
    boolean addTester(Tester tester);

    /**
    * @Author: WTH
    * @Description: 根据手机号查询
    * @Date:2022-07-07 15:38
    * @Params:
    */
    List<Tester> selectTesterByPhone(Tester tester);

    /**
    * @Author: WTH
    * @Description: 根据ID做查询，拿到当前测试人结果
    * @Date:2022-07-08 18:58
    * @Params:  * @param null
    * @return:
    */
    List<Tester> selectResultOne(Integer testerId);

}
